ftp://hasc.ca/pub/next/qlipo-1.0.tar.gz Request for beta testers: QLIPO -- NeXT compatible, portable LIPO. Send bug reports to: Darcy Brockbank Hutchison Ave. Software Version 1.0 Dec 22, 1994 This program is loosely based on plipo, by Christian Scheider, which served mainly as example code and inspiration that this could be done. The intent of this program is to furnish an upgrade path for people who have broken versions of 'lipo' as under NEXTSTEP 3.2 and previous versions. QLIPO is bug-for-bug compatible with lipo... well, not exactly bug-for-bug, but it does a good job of handling all the arguments you can pass it, while giving some more useful messages than our old buggy friend lipo. Replacing lipo might be useful to you, because it will allow you to deal with mega fat binaries, without having to upgrade your OS. A side effect of this is the implication that you may not have to upgrade to NS 3.3 to use NS Developer 3.3, since lipo is likely the only thing that 3.3 developer depends on. I dunno... try it and see. For the most part, this program is portable to any UNIX, though it works only on MACH-O files. At the moment, I'm being very conservative by keeping the byte alignments of the fat files at 8192 byte boundaries. While this will result in a bit of wasted space, it makes sure that all executables are happy. Future versions will allow for less conservative alignments. This program is being provided with the hope it will be interesting, and perhaps useful, but no guarantees are made as to it's functionality or usefulness, nor do I or Hutchison Ave. Software warrant it in any other way. Please keep me informed as to incompatabilities or problems, and I will do my best to fix things. Lots of this code is gross... I'm sorry about that, but I'm just trying to get it to work. Typical C programmer's excuse. I did write this over the course of 24 hours though, so please be gentle with me. This software is donated to the public domain, as long as you don't remove the attributions. TODO 1) support segalign... -segalign is being ignored in favor of a safe alignment of 8192 bytes right now. 2) support multiple -remove flags... I had no idea this could be specified, so I didn't work it in. If you have any fixes, suggestions, or bug reports, please send them. If you want to work on this too, feel free. - darcy